Class ZipSelectedAddFile
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----com.sun.java.swing.JDialog
|
+----ZipSelectedAddFile
- public class ZipSelectedAddFile
- extends JDialog
Class used to select file to add in the current archive
- Version:
- 1.0
- Author:
- Frank Moisant - Patrick Titiano
- See Also:
- ZipTable, ZipButton
-
canceled
-
-
checkBox
-
-
comboBox
-
-
currentDirectory
-
-
files
-
-
positionInPathName
-
-
result
-
-
scrollPane
-
-
upButton
-
-
zipTable
-
-
ZipSelectedAddFile(Frame)
- Class constructor
-
getSelectedFiles()
- Method return the selected files or/and directories
-
isResizable()
- Method calls when the window manager want to resize th Dialog
-
setPath(String)
- set the path to display
-
setRecurseFilesOf(File)
- Add recurse folder in global variable result
scrollPane
private JScrollPane scrollPane
zipTable
private ZipTable zipTable
upButton
private ZipButton upButton
files
private Vector files
currentDirectory
private String currentDirectory
comboBox
private JComboBox comboBox
checkBox
private JCheckBox checkBox
result
private Vector result
positionInPathName
public int positionInPathName
canceled
public boolean canceled
ZipSelectedAddFile
public ZipSelectedAddFile(Frame owner)
- Class constructor
- Parameters:
- owner - the frame which instanciate the dialog
setPath
public void setPath(String path)
- set the path to display
- Parameters:
- path - the path to display
isResizable
public boolean isResizable()
- Method calls when the window manager want to resize th Dialog
- Returns:
- always false
- Overrides:
- isResizable in class Dialog
setRecurseFilesOf
private void setRecurseFilesOf(File directory)
- Add recurse folder in global variable result
- Parameters:
- directory - a file to the directory to recurse
getSelectedFiles
public Vector getSelectedFiles()
- Method return the selected files or/and directories
- Returns:
- a vector with the path + file name of all files